package com.sun.dao;

import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        User user = new User();
        user.setAge(10);
        user.setGender("男");
        user.setName("孙楠");
        user.setMotto("Nothing is impossible");

        System.out.println(user);

        Team team = new Team();
        team.setId(1);
        team.setTeamMembers(Arrays.asList(user));
        team.setTeamName("凤");
        team.setHonors(Arrays.asList("战无不胜"));
        System.out.println(team);
    }
}
